package com.qidian.tcba.admin.service.impl;


import com.qidian.tcba.admin.model.dto.recordProcess.RecordProcessHistoryDTO;
import com.qidian.tcba.admin.service.ParkLotRecordProcessHistoryService;
import com.qidian.tcba.admin.service.ParkLotRecordTaskService;
import com.qidian.tcba.dao.ParkLotRecordProcessHistoryMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 停车场备案流程履历表 服务实现类
 * </p>
 *
 * @author 冯永龙
 * @since 2021-07-06
 */
@Service
public class ParkLotRecordProcessHistoryServiceImpl implements ParkLotRecordProcessHistoryService {

    @Autowired
    private ParkLotRecordProcessHistoryMapper parkLotRecordProcessHistoryMapper;

//    @Autowired
//    private ParkLotRecordTaskService parkLotRecordTaskService;

    @Override
    public List<RecordProcessHistoryDTO> getParkLotRecordHistoryAllList(int taskId, int type) {
//        String parkLotSno = parkLotRecordTaskService.getParkLotSno(taskId);
        List<RecordProcessHistoryDTO> parkLotRecordHistoryAllList = parkLotRecordProcessHistoryMapper.getParkLotRecordHistoryAllList(taskId, type);
        return parkLotRecordHistoryAllList;

    }
}
